home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / pcw.zip / ZTPCW.BAT < prev    next >
DOS Batch File  |  1991-12-15  |  1KB  |  29 lines

  1. :***************************************************************
  2. :* File Id.                     ZTPCW.BAT                      *
  3. :* Author.                      Stan Milam.                    *
  4. :* Date Written.                15 Oct 90.                     *
  5. :*                                                             *
  6. :*              (c) Copyright 1990 by Stan Milam.              *
  7. :*                                                             *
  8. :* Used to compile with Zortech C/C++.                         *
  9. :* This batch file is invoked from another batch file that     *
  10. :* passes the memory model parameter to use to compile the     *
  11. :* PC Windows library.                                         *
  12. :*                                                             *
  13. :***************************************************************
  14. :*
  15. Echo Off
  16. if exist ..\ztpcw%1\model goto model
  17. md ..\ztpcw%1
  18. echo ztpcw%1 >..\ztpcw%1\model
  19. :model
  20. copy ms*.obj ..\ztpcw%1 >nul
  21. cd..\ztpcw%1
  22. make model=%1 -f ..\pcw\ztpcw.mak >c.log
  23. if errorlevel 1 goto error
  24. if errorlevel 0 goto end
  25. :error
  26. echo *** error building library ***
  27. :end
  28. cd ..\pcw
  29.